﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wizard.Source;

namespace Wizard.MsSql
{
    public partial class MethodSource : IMethodSource
    {
        #region IMethodSource Members

        Wizard.IWizardEngine IMethodSource.Engine
        {
            get { throw new NotImplementedException(); }
        }

        IMethodParameterCollection IMethodSource.Parameters
        {
            get { throw new NotImplementedException(); }
        }

        IBlockSource IMethodSource.MainBlock
        {
            get { throw new NotImplementedException(); }
        }

        object IMethodSource.GetStatementByName(string name)
        {
            throw new NotImplementedException();
        }

        IStatementSource IMethodSource.MainStatement
        {
            get
            {
                throw new NotImplementedException();
            }

        }

        IStatementSource IMethodSource.CreateMainStatement()
        {
            var newStatementSource = new StatementSource();
            newStatementSource.StatementType = "MethodMainStatement";
        //    newStatementSource.MethodSource = this;
        //    this.MainStatementSource = newStatementSource;
            return newStatementSource;
        }

        #endregion
    }
}
